package by.imotaeva.printing_services.services;

import java.util.List;

import javax.transaction.Transactional;

import by.imotaeva.printing_services.datamodel.BlankOrder;
import by.imotaeva.printing_services.datamodel.PrintingProductOrder;

public interface BlankOrderService {

	BlankOrder get(Long id);

	@Transactional
	BlankOrder getFullBlankOrder(Long id);

	@Transactional
	void createNewBlankOrder(BlankOrder blankOrder,
			PrintingProductOrder printingProductOrder);

	@Transactional
	void update(BlankOrder blankOrder);

	@Transactional
	void removeBlankOrder(Long id);

	@Transactional
	List<BlankOrder> getAllBlankOrders();

	@Transactional
	List<Long> getBlankOrderIds();

	@Transactional
	Long getCountBlankOrders();

	@Transactional
	void deleteAllBlankOrders();

}
